#ifndef __MCKEYARGS_H_
#define __MCKEYARGS_H_

#include <qevent.h>

#include <MCCanvas.h>
#include <IKeyArgs.h>

class MCKeyArgs : public IKeyArgs
{
public:

    MCKeyArgs(QKeyEvent *event, MCCanvas *canvas);

    int key() override;

private:

    QKeyEvent *_event = nullptr;
    MCCanvas *_canvas = nullptr;

};

#endif // __MCKEYARGS
